OLE2close

Syntax: @OLE2close Channel

The OLE2close command closes an OLE2 automation connection.

Channel: The channel number which has been assigned by a previous call to the @OLE2open command.

Example

@OLE2close word_channel

This closes an automation channel to Microsoft Word for Windows.